package com.tuda.system.model.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tuda.common.annotation.Excel;
import com.tuda.common.core.domain.BaseEntity;
import com.tuda.system.model.param.RouteParam;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;


/**
 * @ClassName OrderListResult
 * @Description TODO
 * @Author Admin
 * @Date 2023/7/14 12:16
 * @Version 1.0
 **/
public class OrderListResult {

    @ApiModelProperty(name = "id", value = "列表主键")
    private Long id;

    @ApiModelProperty(name = "userName", value = "业务员")
    private String userName;

    @ApiModelProperty(name = "vehicleModel", value = "车型")
    private String vehicleModel;

    @ApiModelProperty(name = "vin", value = "车架号")
    private String vin;

    @ApiModelProperty(name = "client", value = "委托人")
    private String client;

    @ApiModelProperty(name = "clientPhone", value = "委托人电话")
    private String clientPhone;

    /**  */
    @ApiModelProperty(name = "origin", value = "起始地")
    private String origin;

    @ApiModelProperty(name = "dest", value = "目的地")
    private String dest;

    @ApiModelProperty(name = "receiver", value = "接收人")
    private String receiver;

    @ApiModelProperty(name = "orderType", value = "1 待提车，2 待发车，3 待发运， 4 运输中，5 待付款，6 已完成")
    private Integer orderType;

    @ApiModelProperty(name = "payType", value = "1 到付，2 现付，3 分期")
    private Integer payType;

    @ApiModelProperty(name = "receiverPhone", value = "接车人电话")
    private String receiverPhone;
    @ApiModelProperty(name = "createTime", value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

//    @ApiModelProperty(name = "routeList", value = "中转路线")
//    private List<RouteParam> routeList;

    @ApiModelProperty(name = "routeList", value = "中转列表")
    private List<OrderTransferResult> routeList;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getVehicleModel() {
        return vehicleModel;
    }

    public void setVehicleModel(String vehicleModel) {
        this.vehicleModel = vehicleModel;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public String getClientPhone() {
        return clientPhone;
    }

    public void setClientPhone(String clientPhone) {
        this.clientPhone = clientPhone;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDest() {
        return dest;
    }

    public void setDest(String dest) {
        this.dest = dest;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<OrderTransferResult> getRouteList() {
        return routeList;
    }

    public void setRouteList(List<OrderTransferResult> routeList) {
        this.routeList = routeList;
    }
}
